package com.eedi.framework.social.enmus;


import com.eedi.framework.common.exception.ErrorCode;
import com.eedi.org.enums.OrgErrorCode;
import com.eedi.org.enums.OrgErrorCodeType;

/**
 * System 错误码枚举类
 *
 * system 系统，使用 1-002-000-000 段
 */
public interface OrgSocialErrorCodeConstants {

    // ========== 社交用户 1-002-018-000 ==========
    ErrorCode SYS_SOCIAL_USER_AUTH_FAILURE = new OrgErrorCode(OrgErrorCodeType.SOCIAL,000, "社交授权失败，原因是：{}");
    ErrorCode SYS_SOCIAL_USER_NOT_FOUND = new OrgErrorCode(OrgErrorCodeType.SOCIAL,001, "社交授权失败，找不到对应的用户");

    ErrorCode SYS_SOCIAL_CLIENT_WEIXIN_MINI_APP_PHONE_CODE_ERROR = new OrgErrorCode(OrgErrorCodeType.SOCIAL,200, "获得手机号失败");
    ErrorCode SYS_SOCIAL_CLIENT_NOT_EXISTS = new OrgErrorCode(OrgErrorCodeType.SOCIAL,201, "社交客户端不存在");
    ErrorCode SYS_SOCIAL_CLIENT_UNIQUE = new OrgErrorCode(OrgErrorCodeType.SOCIAL,201, "社交客户端已存在配置");




}
